package com.rd.student.jike.class1.sunhao.day03;

import java.util.ArrayList;
import java.util.Random;

public class Test4 {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        ArrayList arrayList1 = new ArrayList();
        Random random = new Random();
        for (int i=0;i<10;i++){
            int i1  = random.nextInt(100)+1;
            arrayList.add(i1);
            if (i1>10){
                arrayList1.add(i1);
            }
        }
        System.out.println(arrayList1);

    }
}
